package lesson7;

public class Demo1 {
    public static void main(String[] args) {
        double d1 = 3.14;
        double result = Math.ceil(d1);
        result = Math.floor(d1);
        long result2 = Math.round(3.499999);
//        System.out.println(result2);
//        System.out.println(Math.pow(10,5.1));
//        System.out.println(Math.random());

        //求1<=n<=100的随机数
        //Math.floor(Math.random()*100+1);
        Math.ceil(Math.random()*100);
        //180<=n<=200
        //0<=n<=20
         long lll = Math.round(Math.random()*20)+180;
        System.out.println(Math.asin(1));
        System.out.println(Math.log10(100));


    }
}
